package com.frejoys.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

// 用户关联表
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("j_user_level")
public class UserLevel {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    // 推广用户ID
    private Long userId;

    // 子级用户ID
    private Long childUserId;

    // 父级用户ID
    private Long parentUserId;

    // 创建时间
    private Integer createTime;

}
